WCML\TranslationControls\Hooks S

Total Complexity 31
Dependencies 8
Dependents 0
Total lines 310
Lines of code 138
Logical lines of code 49
Comment lines 118
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
translationControls()
A
43 7 56
hasStringsInDomain()
S
58 2 17
add_hooks()
S
71 2 6
getInstructions()
S
71 2 6
getTranslationControl()
S
61 1 13
__construct()
S
71 1 6
isAdminPage()
S
100 1 0
addAdminPageHooks()
S
100 1 0
loadAssets()
S
75 1 4
translationInstructions()
S
100 1 0
getInstructionsLink()
S
80 1 3
getInstructionsWithRegisteredStrings()
S
68 1 7
getInstructionsWithoutRegisteredStrings()
S
79 1 3
getTranslationControls()
S
100 1 0
registerStringsOnSave()
S
100 1 0
getStringLanguage()
S
66 1 9
replaceStringAndLanguage()
S
71 1 5
getStringName()
S
100 1 0
getInputName()
S
79 1 3
getInputId()
S
100 1 0
getLanguageSelectorId()
S
100 1 0
getLanguageSelectorName()
S
100 1 0